<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script>
<script>
function onGet(){
    $.ajax({
        type: "get",
        url: "/v1/wx/get/js/sdk?url="+location.href,
        data: setQueryString(),
        success: function(data){
            $("#msg").html(decodeURI(data));
        },
        error: function(){
            alert("怎么出错了呢");
        }
    });
}
</script>
</body>
</html>